home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000824-20010305
/
000088_news@columbia.edu _Tue Oct 24 17:39:55 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
12KB
Return-Path: <news@columbia.edu>
Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
by monire.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id RAA08579
for <kermit.misc@cpunix.cc.columbia.edu>; Tue, 24 Oct 2000 17:39:54 -0400 (EDT)
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA12681
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 24 Oct 2000 17:39:54 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id RAA00273
for kermit.misc@watsun.cc.columbia.edu; Tue, 24 Oct 2000 17:23:01 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: Luiz Geraldo Silva Braz <braz@i2.com.br>
Subject: log of a kermit comunication
Date: Tue, 24 Oct 2000 19:08:29 -0200
Organization: POP-MG
Message-ID: <Pine.LNX.3.96.1001024185713.5485B-100000@atlanta.i2.com.br>
To: kermit.misc@columbia.edu
Hi,
This is a log of kermit comunication that I need to decode.
The big questions are:
1) What king of command could generate the first string
sent to the kermit server?
#A& D#C"@%<ENTER> (see the log above)
2) Would this entire comunication be the result of just
one c-kermit command or a lot of commands?
What would be this (these) commands?
I intend to create a script (using expect) to interact
with c-kermit and automate this kind of comunication.
I have inserted some coments (***) inside the log.
Each set of packets has the sender ID ( "1>" to client and "0>"
to the server) and two representations of the data sent in 2
columns.
Some non-printbles caracteres are represented by "." at the
rigth column. In the left column appears the Hex code of each
char and the simbol of the non-printblesi char.
Thanks in advance.
Luiz Braz
braz@i2.com.br
PS: Sorry about the errors. This is the first message I have
wroten in English. :-)
>-------------------------------------------------------------------------
*** Estabilishing the connection. 817371001 is just the phone number. :-)
1> 0000: 41 54 44 54 30 77 30 33 31 38 31 37 33 37 31 30 ATDT0318173710
A T D T 0 w 0 3 1 8 1 7 3 7 1 0
0010: 30 31 0D 01.
0 1 ^M
0> 0000: 0D 0A 43 4F 4E 4E 45 43 54 20 39 36 30 30 2F 41 ..CONNECT 9600/A
^M ^J C O N N E C T bs 9 6 0 0 / A
0010: 52 51 2F 56 33 32 2F 4C 41 50 4D 2F 56 34 32 42 RQ/V32/LAPM/V42B
R Q / V 3 2 / L A P M / V 4 2 B
0020: 49 53 0D 0A IS..
I S ^M ^J
*** Connected. Now the client machine sends a data packet (D) with
a kind of escape sequence to the server. I don't know
exactaly what does it mean. I don't know how the
kermit server can interpret the commands (escape) inside
the data packet. I supose that it is a hot question.
1> 0013: 23 41 26 20 20 44 23 43 22 40 25 0D #A& D#C"@%.
# A & bs bs D # C " @ % ^M
*** The server answers with an ack packet (Y) and a unknown M-package.
What kind of package is it? I did't see it at the kermit
protocol description I have?
0> 0024: 23 41 25 20 20 59 2A 24 33 0D 23 41 53 20 5F 4D #A% Y*$3.#AS _M
# A % bs bs Y * $ 3 ^M # A S bs _ M
0034: 23 4D 23 4A 20 50 45 46 20 53 45 53 53 49 4F 4E #M#J PEF SESSION
# M # J bs P E F bs S E S S I O N
0044: 20 54 45 52 4D 49 4E 41 54 45 44 20 41 54 20 30 TERMINATED AT 0
bs T E R M I N A T E D bs A T bs 0
0054: 30 2D 31 30 2D 31 38 20 31 36 3A 35 38 3A 35 39 0-10-18 16:58:59
0 - 1 0 - 1 8 bs 1 6 : 5 8 : 5 9
0064: 26 32 2F 0D &2/.
& 2 / ^M
*** The client just confirms the last package received.
1> 001F: 23 41 25 20 5F 59 29 31 59 0D #A% _Y)1Y.
# A % bs _ Y ) 1 Y ^M
*** The server sents a password prompt to the client.
0> 0068: 23 41 75 24 20 42 23 4D 23 4A 41 43 2D 43 43 31 #Au$ B#M#JAC-CC1
# A u $ bs B # M # J A C - C C 1
0078: 2D 53 50 58 32 30 30 30 20 56 33 30 31 31 20 50 -SPX2000 V3011 P
- S P X 2 0 0 0 bs V 3 0 1 1 bs P
0088: 4C 3A 30 30 2E 39 36 20 43 55 53 54 4F 4D 45 52 L:00.96 CUSTOMER
L : 0 0 . 9 6 bs C U S T O M E R
0098: 3A 20 54 45 4C 45 4D 41 52 20 20 53 49 54 45 3A : TELEMAR SITE:
: bs T E L E M A R bs bs S I T E :
00A8: 20 42 4F 4E 49 54 4F 20 20 20 20 20 20 20 20 20 BONITO
bs B O N I T O bs bs bs bs bs bs bs bs bs
00B8: 20 23 4D 23 4A 50 4C 45 41 53 24 58 38 0D 23 41 #M#JPLEAS$X8.#A
bs # M # J P L E A S $ X 8 ^M # A
00C8: 36 20 21 42 45 20 45 4E 54 45 52 20 50 41 53 53 6 !BE ENTER PASS
6 bs ! B E bs E N T E R bs P A S S
00D8: 57 4F 52 44 3E 21 28 21 0D WORD>!(!.
W O R D > ! ( ! ^M
*** The client sends 2 ack packages and a data (D) package
with the password. Yes, I changed the password! :-)
1> 0029: 23 41 25 20 20 59 2A 24 33 0D 23 41 25 20 21 59 #A% Y*$3.#A% !Y
# A % bs bs Y * $ 3 ^M # A % bs ! Y
0039: 2B 43 2B 0D 23 41 2A 20 21 44 4B 49 4E 4E 23 4A +C+.#A* !KINN#J
+ C + ^M # A * bs ! D K I N N # J
0049: 29 33 31 0D )11.
) 3 1 ^M
*** The server sends the command prompt in a S-package.
0> 00E1: 23 41 25 20 21 59 2B 43 2B 0D 23 41 38 20 22 53 #A% !Y+C+.#A8 "S
# A % bs ! Y + C + ^M # A 8 bs " S
00F1: 23 4D 23 4A 30 30 2D 31 30 2D 31 38 20 31 36 3A #M#J00-10-18 16:
# M # J 0 0 - 1 0 - 1 8 bs 1 6 :
0101: 35 39 3A 30 37 29 4C 39 0D 23 41 28 20 23 5A 23 59:07)L9.#A( #Z#
5 9 : 0 7 ) L 9 ^M # A ( bs # Z #
0111: 4D 23 4A 3E 21 21 4A 0D M#J>!!J.
M # J > ! ! J ^M
*** The client sends the command. (All I have to do is automate
this single command. :-)
1> 004D: 23 41 25 20 22 59 29 2A 43 0D 23 41 25 20 23 59 #A% "Y)*C.#A% #Y
# A % bs " Y ) * C ^M # A % bs # Y
005D: 28 4D 5B 0D 23 41 30 20 22 44 44 49 53 20 53 54 (M[.#A0 "DDIS ST
( M [ ^M # A 0 bs " D D I S bs S T
006D: 4E 41 53 53 4E 21 4C 35 0D NASSN!L5.
N A S S N ! L 5 ^M
*** The server sends the extension-command prompt.
0> 0119: 23 41 25 20 22 59 29 2A 43 0D 23 41 3E 20 24 46 #A% "Y)*C.#A> $F
# A % bs " Y ) * C ^M # A > bs $ F
0129: 53 54 41 54 49 4F 4E 20 45 58 54 45 4E 53 49 4F STATION EXTENSIO
S T A T I O N bs E X T E N S I O
0139: 4E 20 4E 55 4D 42 45 52 3D 28 2A 4D 0D N NUMBER=(*M.
N bs N U M B E R = ( * M ^M
*** The client sends the rest of the command. Just a CTRL-M.
1> 0076: 23 41 25 20 24 59 2C 39 53 0D 23 41 26 20 23 44 #A% $Y,9S.#A& #D
# A % bs $ Y , 9 S ^M # A & bs # D
0086: 23 4A 25 4A 40 0D #J%J@.
# J % J @ ^M
*** Then the result of the command appear.
0> 0146: 23 41 25 20 23 59 28 4D 5B 0D 23 41 49 20 25 4D #A% #Y(M[.#AI %M
# A % bs # Y ( M [ ^M # A I bs % M
0156: 20 44 49 53 50 4C 41 59 20 53 54 4E 41 53 53 4E DISPLAY STNASSN
bs D I S P L A Y bs S T N A S S N
0166: 20 30 30 2D 31 30 2D 31 38 20 31 36 3A 35 39 3A 00-10-18 16:59:
bs 0 0 - 1 0 - 1 8 bs 1 6 : 5 9 :
0176: 33 37 23 4D 23 4A 25 43 2B 0D 23 41 27 20 26 44 37#M#J%C+.#A' &D
3 7 # M # J % C + ^M # A ' bs & D
0186: 23 4D 23 4A 22 55 5E 0D 23 41 72 20 27 44 23 4D #M#J"U^.#Ar 'D#M
# M # J " U ^ ^M # A r bs ' D # M
0196: 23 4A 20 20 20 20 20 20 20 20 20 20 20 20 20 20 #J
# J bs bs bs bs bs bs bs bs bs bs bs bs bs bs
01A6: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs bs
01B6: 20 20 20 20 4B 45 59 20 20 52 53 54 20 20 52 53 KEY RST RS
bs bs bs bs K E Y bs bs R S T bs bs R S
01C6: 54 20 20 57 52 4D 20 48 4F 54 20 46 45 41 54 20 T WRM HOT FEAT
T bs bs W R M bs H O T bs F E A T bs
01D6: 20 20 20 20 20 20 20 43 48 41 52 47 45 2B 3F 26 CHARGE+?&
bs bs bs bs bs bs bs C H A R G E + ? &
01E6: 0D .
^M
*** The ack of the last three packages.
1> 008C: 23 41 25 20 25 59 2D 5E 4B 0D 23 41 25 20 26 59 #A% %Y-^K.#A% &Y
# A % bs % Y - ^ K ^M # A % bs & Y
009C: 2F 37 23 0D 23 41 25 20 27 59 2E 50 3B 0D /7#.#A% 'Y.P;.
/ 7 # ^M # A % bs ' Y . P ; ^M
*** More results...
0> 01E7: 23 41 73 20 28 44 23 4D 23 4A 20 53 54 4E 20 20 #As (D#M#J STN
# A s bs ( D # M # J bs S T N bs bs
01F7: 50 45 4E 20 54 59 50 45 20 43 4F 53 20 53 44 20 PEN TYPE COS SD
P E N bs T Y P E bs C O S bs S D bs
0207: 43 41 54 20 4F 52 49 20 50 41 52 20 57 4F 52 44 CAT ORI PAR WORD
C A T bs O R I bs P A R bs W O R D
0217: 20 47 52 50 20 20 43 41 54 20 20 4C 4E 45 20 4C GRP CAT LNE L
bs G R P bs bs C A T bs bs L N E bs L
0227: 4E 45 20 41 54 54 52 20 20 20 4C 53 54 23 23 20 NE ATTR LST##
N E bs A T T R bs bs bs L S T # # bs
0237: 4D 45 54 45 52 20 20 27 48 53 0D 23 41 74 20 29 METER 'HS.#At )
M E T E R bs bs ' H S ^M # A t bs )
0247: 44 23 4D 23 4A 31 30 30 30 20 36 30 30 30 20 44 D#M#J1000 6000 D
D # M # J 1 0 0 0 bs 6 0 0 0 bs D
0257: 54 4D 46 20 20 31 20 20 20 30 20 20 31 20 20 20 TMF 1 0 1
T M F bs bs 1 bs bs bs 0 bs bs 1 bs bs bs
0267: 31 20 20 20 2D 20 20 2D 2D 2D 2D 20 4E 2D 20 30 1 - ---- N- 0
1 bs bs bs - bs bs - - - - bs N - bs 0
0277: 20 30 30 30 30 20 2D 2D 2D 20 2D 2D 2D 20 34 38 0000 --- --- 48
bs 0 0 0 0 bs - - - bs - - - bs 4 8
0287: 30 30 30 30 20 30 36 37 38 20 30 30 30 30 30 30 0000 0678 000000
0 0 0 0 bs 0 6 7 8 bs 0 0 0 0 0 0
0297: 36 39 2C 42 22 0D 23 41 74 20 2A 44 23 4D 23 4A 69,B".#At *D#M#J
6 9 , B " ^M # A t bs * D # M # J
02A7: 31 30 30 31 20 36 30 30 31 20 44 54 4D 46 20 20 1001 6001 DTMF
1 0 0 1 bs 6 0 0 1 bs D T M F bs bs
02B7: 31 20 20 20 30 20 20 33 20 20 20 31 20 20 20 2D 1 0 3 1 -
1 bs bs bs 0 bs bs 3 bs bs bs 1 bs bs bs -
02C7: 20 20 2D 2D 2D 2D 20 4E 2D 20 30 20 30 30 30 30 ---- N- 0 0000
bs bs - - - - bs N - bs 0 bs 0 0 0 0
02D7: 20 2D 2D 2D 20 2D 2D 2D 20 30 30 30 30 31 30 20 --- --- 000010
bs - - - bs - - - bs 0 0 0 0 1 0 bs
02E7: 30 36 37 39 20 30 30 30 30 30 30 30 31 20 55 35 0679 00000001 U5
0 6 7 9 bs 0 0 0 0 0 0 0 1 bs U 5
02F7: 0D .
^M
*** More 3 ACK packages...
1> 00AA: 23 41 25 20 28 59 26 5F 33 0D 23 41 25 20 29 59 #A% (Y&_3.#A% )Y
# A % bs ( Y & _ 3 ^M # A % bs ) Y
00BA: 27 38 2B 0D 23 41 25 20 2A 59 25 51 43 0D '8+.#A% *Y%QC.
' 8 + ^M # A % bs * Y % Q C ^M
and the result of the command continues to come in sequences
of three packages... (see the big questions I have made at the
begining of this mesage.)
Thanks again.A